<%--
  Created by IntelliJ IDEA.
  User: chenhs
  Date: 2018/6/16
  Time: 17:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../base/head.jsp"%>
<html>
<head>
    <title>Spring MVC表单防重复提交</title>
</head>
<body>
<form action="<%=basePath%>testrepeat/save.do" method="post">
    <table>
        <thead>
        <tr>
            <th>Name</th>
            <th>Pwd</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td><input name="name" value="aaa" /></td>
            <td><input name="pwd" value="bbb" /></td>
        </tr>
        </tbody>
        <tfoot>
        <tr>
            <td colspan="2"><input type="submit" value="Save"/></td>
        </tr>
        </tfoot>
        <input type="hidden" id="token" name="token" value="$!{session.getAttribute('token')}" />
    </table>
</form>
</body>
</html>
